<script type="text/javascript">
function setMain(url){
	parent.middle.main.location = url;
}
</script>
<div class="header">
	<div class="headerLogo floa-Left">管理系统</div>
    <div class="navbar">
    	<ul>
	<li><a href="<?php echo base_url($this->_site_path.'/login/login_out');?>" target="_top"  onclick="if (confirm('确定要退出吗？')) return true; else return false;" >退出系统</a></li>
        	<li>【<span class="fontBlack"><?php echo $this->auth->get_user('user_name');?></span>】欢迎你</li>


        </ul>
    </div>
</div>
<div class="topMenu">
<div class="floa-Left h1"></div>
<div class="floa-Left">
	<ul id='top_menu'>
		<li class="active" rel='1' onclick="setMain('<?php echo base_url($this->_site_path.'/site/main');?>')"><a  target="left" href="<?php echo base_url($this->_site_path.'/site/left/1');?>" >系统设置</a></li>
		<li  rel='2' onclick="setMain('<?php echo base_url($this->_site_path.'/site/main');?>')"><a  target="left" href="<?php echo base_url($this->_site_path.'/site/left/2');?>" >信息发布</a></li>	
		<li  rel='3' onclick="setMain('<?php echo base_url($this->_site_path.'/site/main');?>')"><a  target="left" href="<?php echo base_url($this->_site_path.'/site/left/3');?>" >基本设置</a></li>
		<li  rel='4' onclick="setMain('<?php echo base_url($this->_site_path.'/site/main');?>')"><a  target="left" href="<?php echo base_url($this->_site_path.'/site/left/4');?>" >留言管理</a></li>
		<li  rel='5' onclick="setMain('<?php echo base_url($this->_site_path.'/site/main');?>')"><a  target="left" href="<?php echo base_url($this->_site_path.'/site/left/5');?>" >公司介绍</a></li>
		<li  rel='6' onclick="setMain('<?php echo base_url($this->_site_path.'/site/main');?>')"><a  target="left" href="<?php echo base_url($this->_site_path.'/site/left/6');?>" >产品管理</a></li>
	</ul>
      <div class="floa-Left line"></div>
    </div>
</div>
</div>
<script type="text/javascript">
	$("#top_menu li").click(function(){
		$("#top_menu li").removeClass('active');
		$(this).addClass('active');
		url=$("a", this).attr("href");
		parent.middle.left.location = url;
	})
</script>
